<?php

/* config */

$root = "get the correct root dir of my server";
$urlroot = "what is our url root?";

/* get upload info */

$location= strval($_POST['location']);
$upfile = $_FILES['upfile']['tmp_name'];
$upfile_name = $_FILES['upfile']['name'];

print $upfile;
print $upfile_name;

?>
